import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'

const routes = [
  {
    path: '/',
    name: 'home',
    component: HomeView,
    children:[
      // { path: '/product',component: () => import('../views/ProductView.vue')}
       { path: '/pet',component: () => import('../views/PetView.vue')}

    ]
  },
//login
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
